To test your function, call playGuessingGame() from the JavaScript console in the browser.